package com.killer.goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.killer.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 分类品牌中间表
 * </p>
 *
 * @author killer
 * @since 2021-08-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_category_brand")
@ApiModel(value="CategoryBrand对象", description="分类品牌中间表")
public class CategoryBrand extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分类ID")
    @TableField("category_id")
    private Long categoryId;

    @ApiModelProperty(value = "品牌ID")
    @TableField("brand_id")
    private Long brandId;


}
